package com.xkcyy.study.spring.d01_anno;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * UserRepo2
 *
 * @author yuand
 * @date 2021/5/28
 **/
@Repository
public class UserRepo2 {
    @Autowired
    UserRepo userRepo;

    @Transactional
    public void comit() {

    }
}
